﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace calculadora
{
    public class Potencia:OP
    {
        public Potencia(Double x, Double y) : base(x, y) { 
        }

        public Potencia()
            
        {
        }


        public override Double result()
        {
            return Math.Pow(a, b);
        }
    }
}
